#include<stdio.h>
int main()
{
	int a,b,c,d,dollar;
	printf("Enter a dollar amount:");
	scanf("%d",&dollar);
	a=dollar/20;
	b=(dollar-a*20)/10;
	c=(dollar-a*20-b*10)/5;
	d=dollar-a*20-b*10-c*5;
	printf("$20 bills:%d\n",a);
	printf("$10 bills:%d\n",b);
	printf(" $5 bills:%d\n",c);
	printf(" $1 bills:%d\n",d);
	return 0;
}
